Skip to content

HIVE-25125:PTF: Vectorize percent_rank function - #6752

Merged
deniskuzZ merged 8 commits into
apache:masterfrom
ramitg254:HIVE-25125
Sep 22, 2026
Merged

deniskuzZ merged 8 commits into
apache:masterfrom
ramitg254:HIVE-25125

Conversation

@ramitg254

@ramitg254 ramitg254 commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Change-Id: I6fb4153d87bf92fd1c1993c79396465319d6b45a

What changes were proposed in this pull request?

Vectorize percent_rank() function.

Why are the changes needed?

percent_rank() currently executes in non vectorized fashion, so enabling it to also be supported in vectorized manner

Does this PR introduce any user-facing change?

No

How was this patch tested?

added q test and ci results

@ramitg254 ramitg254 changed the title [WIP] HIVE-25125:PTF: Vectorize percent_rank function Sep 3, 2026
Comment thread ql/src/java/org/apache/hadoop/hive/ql/plan/VectorPTFDesc.java Outdated
Comment thread ql/src/test/queries/clientpositive/cbo_windowing.q Outdated
Change-Id: I3b0063ee0e60926d6b03df74fce09880a76f844a
Comment thread ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java Outdated
Comment thread ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java Outdated
Comment thread ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java Outdated
Change-Id: If705655e7dbe33e2c32c52a372e995cb947fde00
@sonarqubecloud

Copy link
Copy Markdown

@deniskuzZ deniskuzZ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@ramitg254

Copy link
Copy Markdown
Contributor Author

@deniskuzZ can this be merged?

@deniskuzZ
deniskuzZ merged commit 96e3390 into apache:master Sep 22, 2026
5 checks passed
@ramitg254

Copy link
Copy Markdown
Contributor Author

Thanks @deniskuzZ for the review !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants